using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.DAL.HoseAdapter.FileParser.Structure
{
    public sealed class ConfirmOrderChange
    {
        private String mTimestamp;

        [FieldLength(6)]
        public String Timestamp
        {
            get { return mTimestamp; }
            set { mTimestamp = value; }
        }

        private String mMessageType;

        [FieldLength(2)]
        public String MessageType
        {
            get { return mMessageType; }
            set { mMessageType = value; }
        }

        private String mFirm;

        [FieldLength(3)]
        public String Firm
        {
            get { return mFirm; }
            set { mFirm = value; }
        }

        private String mOrderNumber;

        [FieldLength(8)]
        public String OrderNumber
        {
            get { return mOrderNumber; }
            set { mOrderNumber = value; }
        }
        
        private String mOrderEntryDate;

        [FieldLength(4)]
        public String OrderEntryDate
        {
            get { return mOrderEntryDate; }
            set { mOrderEntryDate = value; }
        }

        private String mClientID;

        [FieldLength(10)]
        public String ClientID
        {
            get { return mClientID; }
            set { mClientID = value; }
        }

        private String mPortClientFlag;

        [FieldLength(1)]
        public String PortClientFlag
        {
            get { return mPortClientFlag; }
            set { mPortClientFlag = value; }
        }

        private String mPublishedVolume;

        [FieldLength(8)]
        public String PublishedVolume
        {
            get { return mPublishedVolume; }
            set { mPublishedVolume = value; }
        }
        
        private String mPrice;

        [FieldLength(6)]
        public String Price
        {
            get { return mPrice; }
            set { mPrice = value; }
        }


        private String mFilter;

        [FieldLength(8)]
        public String Filter
        {
            get { return mFilter; }
            set { mFilter = value; }
        }

        private Int32 mOffset;

        [FieldLength(4)]
        public Int32 Offset
        {
            get { return mOffset; }
            set { mOffset = value; }
        }
    }
}
